Fix recently-introduced process.c problems found by static checking.
authorPaul Eggert <eggert@cs.ucla.edu>
Mon, 18 Jun 2012 06:58:00 +0000 (23:58 -0700)
committerPaul Eggert <eggert@cs.ucla.edu>
Mon, 18 Jun 2012 06:58:00 +0000 (23:58 -0700)
commit86af6873bb511f5da77faf8d897aa265639222e0
treee26859144695d5f0d6fa6c51def0167fb49aac7f
parent5b146804bbec65aeddfb7b293468138ea0bbbb38
Fix recently-introduced process.c problems found by static checking.

* process.c (write_queue_push, write_queue_pop, send_process):
Use ptrdiff_t, not int or EMACS_INT, for buffer lengths and offsets.
(write_queue_pop): Fix pointer signedness problem.
(send_process): Remove unused local.
src/ChangeLog
src/process.c